;written by Barton Waterduck

Weapon numbers
used with 01B2: give_actor_weapon, 01B9: set_actor_armed_weapon and similar opcodes

number model  MB model name

   gift type weapons
   10   321   #gun_dildo1
   11   322   #gun_dildo2
   12   323   #gun_vibe1
   13   324   #gun_vibe2
   14   325   #flowera
   15   326   #gun_cane

   melee weapons
    1   331   #brassknuckle
    2   333   #golfclub
    3   334   #nitestick
    4   335   #knifecur
    5   336   #bat
    6   337   #shovel
    7   338   #poolcue
    8   339   #katana
    9   341   #chnsaw

   projectiles
   16   342   #grenade
   17   343   #teargas
   18   344   #molotov

   handguns
   22   346   #colt45
   23   347   #silenced
   24   348   #desert_eagle

   shotguns
   25   349   #chromegun
   26   350   #sawnoff
   27   351   #shotgspa

   sub-machineguns
   28   352   #micro_uzi
   29   353   #mp5lng

   machineguns
   30   355   #ak47
   31   356   #m4
   32   372   #tec9

   rifles
   33   357   #cuntgun
   34   358   #sniper

   specials
   35   359   #rocketla
   36   360   #heatseek
   37   361   #flame
   38   362   #minigun
   39   363   #satchel
   41   365   #spraycan
   42   366   #fire_ex
   43   367   #camera
   44   368   #nvgoggles
   45   369   #irgoggles
   46   371   #gun_para


Other
        370   #jetpack

And all available weapon numbers (taken by Xieon from post on gtaforums by Opius):

0 - Unarmed
1 - Brass Knuckles
2 - Golf Club
3 - Night Stick
4 - Knife
5 - Baseball Bat
6 - Shovel
7 - Pool cue
8 - Katana
9 - Chainsaw
10 - Purple Dildo
11 - White Dildo
12 - Long White Dildo
13 - White Dildo 2
14 - Flowers
15 - Cane
16 - Grenades
17 - Tear Gas
18 - Molotovs
19 - Missile (crashes if you try to fire)
20 - Missile (crashes if you try to fire)
21 - Missile (crashes if you try to fire)
22 - Pistol
23 - Silenced Pistol
24 - Desert Eagle
25 - Shotgun
26 - Sawn Off Shotgun
27 - Combat Shotgun
28 - Micro Uzi (Mac 10)
29 - MP5
30 - AK47
31 - M4
32 - Tec9
33 - Rifle
34 - Sniper Rifle
35 - RPG
36 - Missile Launcher
37 - Flame Thrower
38 - Minigun
39 - Sachet Charges
40 - Detonator
41 - Spray Paint
42 - Fire Extinguisher
43 - Camera
44 - Nightvision Goggles
45 - Thermal Goggles
46 - Parachute
47 - Pistol (Unusable)(Unskilled animations)
48 - Silenced Pistol (Unusable)(Unskilled animations)
49 - Desert Eagle (Unusable)(Unskilled animations)
50 - Shotgun (Unusable)(Unskilled animations)
51 - Sawn Off Shotgun (Unusable)(Unskilled animations)
52 - Combat Shotgun (Unusable)(Unskilled animations)
53 - Micro Uzi (Mac 10)(Unusable)(Unskilled animations)
54 - MP5 (Unusable)(Unskilled animations)
55 - AK47 (Unusable)(Unskilled animations)
56 - M4 (Unusable)(Unskilled animations)
57 - Tec9 (Unusable)(Unskilled animations)
58 - Pistol (Unusable)(Hitman animations)
59 - Silenced Pistol (Unusable)(Hitman animations)
60 - Desert Eagle (Unusable)(Hitman animations)
61 - Shotgun (Unusable)(Hitman animations)
62 - Sawn Off Shotgun (Unusable)(Hitman animations)
63 - Combat Shotgun (Unusable)(Hitman animations)
64 - Micro Uzi (Mac 10)(Unusable)(Hitman animations)
65 - MP5 (Unusable)(Hitman animations)
66 - AK47 (Unusable)(Hitman animations)
67 - M4 (Unusable)(Hitman animations)
68 - Tec9 (Unusable)(Hitman animations)
69 - Pistol (Unusable)(Gangster animations)
70+ - Crashes the game
